<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>


<c:forEach var="element" items="${folderList}" >



<div>
<input type="button" name="getChild" folderId="${element.id}"/>
${element.title}
<div>
	<table>
	<c:forEach var="aclEntry" items="${element.aclEntryList}" >
	<tr>
		<td>
		${aclEntry.scopeValue}
		</td>
		<td>
		${aclEntry.scopeType}
		</td>
		<td>
		${aclEntry.role}
		</td>
		<td>
			<c:if test="${aclEntry.scopeType=='GROUP'}">
				<input type="button" name="applyGroup" aclFeedLink="${ aclEntry.id }" folderId="${element.id}" value="apply ACL for group user"/>
			</c:if>
		</td>
	</tr>
	</c:forEach>
	</table>
</div>
<div id ="${element.id}" name="childrenCargo" />

</div>
</c:forEach>
<c:if test="${crawlSession!=null}">
<span id="callback" name="${crawlSession}" />
</c:if>
<c:if test="${crawlSession==null}">
<span id="terminated"/>
</c:if>
